package com.zlz.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zlz.server.pojo.AdminRole;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author efire
 * @since 2021-01-20
 */
public interface AdminRoleMapper extends BaseMapper<AdminRole> {

    /**
     * 添加
     *
     * @param adminId 操作员id
     * @param rids 角色id集合
     */
    void insertAdminRole(@Param("adminId") Long adminId, @Param("rids") Long[] rids);
}
